package com.ibeeking.gmc.global.g.rest.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ibeeking.found.common.entity.TenantDetailDTO;
import com.ibeeking.gmc.global.api.common.param.TenantDetailParam;
import com.ibeeking.gmc.global.service.common.dos.TenantDetailDO;
import com.ibeeking.gmc.global.service.common.vo.TenantDetailVO;

import java.util.List;


/**
 * ITenantDetailService
 *
 * @Author ibeeking
 * @Date 2020-12-24 16:34
 */
public interface ITenantDetailService extends IService<TenantDetailDO> {

    TenantDetailVO view(Long id);

    List<TenantDetailVO> listByTenantId(Integer tenantId);

    TenantDetailVO viewByTenantId(Integer type, Integer tenantId);

    TenantDetailDTO queryDetailByTenantId(Integer type, Integer tenantId);

    Boolean del(Long id);

    Boolean delAllByTenantId(Integer tenantId);

    Boolean delByTenantId(Integer type, Integer tenantId);

    Boolean save(TenantDetailParam param);
}
